package com.stox.core.ui.swing.widget;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

import com.stox.core.ui.swing.action.ExitAction;
import com.stox.core.ui.swing.wrapper.JMenuItem;
import com.stox.resources.i18n.MessageSource;

public class ExitMenuItem extends JMenuItem{
	private static final long serialVersionUID = 4578507838055524229L;

	public ExitMenuItem() {
		super(MessageSource.getMessage("Exit"),KeyEvent.VK_F4,ActionEvent.ALT_MASK,"exit.jpg");
		addActionListener(new ExitAction());
	}
	
}
